
package sn.gandal.mobile.kalpet.guichet.jaxws;

import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;
import javax.xml.bind.annotation.XmlType;
import sn.gandal.mobile.kalpet.persistence.Account;
import sn.gandal.mobile.kalpet.persistence.Credentials;

@XmlRootElement(name = "addAccount", namespace = "http://guichet.kalpet.mobile.gandal.sn/")
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "addAccount", namespace = "http://guichet.kalpet.mobile.gandal.sn/", propOrder = {
    "account",
    "password"
})
public class AddAccount {

    @XmlElement(name = "account", namespace = "")
    private Account account;
    @XmlElement(name = "password", namespace = "")
    private Credentials password;

    /**
     * 
     * @return
     *     returns Account
     */
    public Account getAccount() {
        return this.account;
    }

    /**
     * 
     * @param account
     *     the value for the account property
     */
    public void setAccount(Account account) {
        this.account = account;
    }

    /**
     * 
     * @return
     *     returns Credentials
     */
    public Credentials getPassword() {
        return this.password;
    }

    /**
     * 
     * @param password
     *     the value for the password property
     */
    public void setPassword(Credentials password) {
        this.password = password;
    }

}
